package ooday02homework;

public class Person {
    String name;
    int age;
    String address;

    Person() {

    }

    Person(String name, int age, String address) {
        this.name=name;
        this.address=address;
        this.age=age;
    }

    void eat() {
        System.out.println(name+"在吃东西");
    }

    void sleep() {
        System.out.println(name+"在睡觉");
    }

    void sayHi() {
        System.out.println(name+"名字  "+age+"年龄    "
        +address+"地址");
    }
}
